#pragma once


#include "gameObject.h"
#include "ofMain.h"
#include "settings.h";
#include "ofxVectorMath.h"

class explosion :
	public gameObject
{
public:
	explosion(ofxVec2f pos, float mass);
	~explosion(void);

	void draw();
	int update();
	void die();

	float timeToLive;
	float timeToFade;
	float timeToGrow;
	float timeToShrink;
	float explosionTime;
	bool dead;
	float mass;
	float maxSize;
	float currentSize;
	bool readyToDie;
	bool dieBeforeSessionEnd;
	float explosionAlpha;
	static ofImage explosive;

	float seed1;
	float seed2;


};

